package com.ht.module.common.service;

import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;

/**
 * @ProjectName: ht_screen
 * @ClassName: CommonService
 * @Author: hejialun
 * @Description: 公共类sevice
 * @Date: 2021/8/11 10:14
 */
public interface ICommonService {

    /*
     * @param file:文件
     * @Author hejialun
     * @Description: TODO(上传文件)
     * @date 2021/8/11 10:37
     * @returns java.lang.String
     */
    String uploadFile(MultipartFile file) throws IOException;

    /*
     * @param path
     * @Author hejialun
     * @Description: TODO(通过路径删除文件)
     * @date 2021/8/11 16:31
     * @returns java.lang.Boolean
     */
    Boolean delFile(String path);
}
